home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
scuba.swf
/
scripts
/
DefineSprite_283
/
frame_32
/
DoAction.as
Wrap
Text File
|
2012-01-07
|
437b
|
21 lines
if(0 < _root.gOxygenStatus)
{
_root.gOxygenStatus--;
_root.oxygenGauge.gotoAndStop("oxy" + _root.gOxygenStatus);
vOxyBegin = Math.round(Number(getTimer() / 1000));
if(_root.LOW_OXYGEN >= _root.gOxygenStatus)
{
_root.lowOxyWarning.gotoAndStop("warning");
}
else
{
_root.lowOxyWarning.gotoAndStop("base");
}
gotoAndPlay(10);
}
else
{
_root.fnEndGame();
gotoAndStop(1);
}